package com.test;

public class SimpleEnumUse {

	public static void main(String[] args) {
		Spiciness howHot = Spiciness.MEDIUM;
		System.out.println(howHot);
        System.out.println("**************************");
        for (Spiciness s : Spiciness.values()) {
			System.out.println(s + ", ordinal  " + s.ordinal());
			System.out.println(s + ", name  " + s.name());
		}
	}

}
